package com.xczl.demo.domain;

import java.math.BigDecimal;

import org.apache.ibatis.type.Alias;

/**
 * 用户实体类
 * @author Administrator
 *
 */
@Alias("goods")
public class Goods {
	
	/**
	 * 主键
	 */
	private Integer goodsId;
	
	/**
	 * 外键
	 */
	private Integer cateId;
	
	/**
	 * 商品名称
	 */
	private String name;
	
	/**
	 * 商品价格
	 */
	private BigDecimal price;
	
	/**
	 * 商品状态
	 */
	private Integer state;

	public Integer getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public Integer getCateId() {
		return cateId;
	}

	public void setCateId(Integer cateId) {
		this.cateId = cateId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}
}
